Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(trace-handler): TracePos becomes a wrapper for u32 alias [fixes VM-267] #544

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

raftedproc
Copy link
Contributor

@raftedproc raftedproc commented Mar 21, 2023

feat(trace-handler): TracePos becomes a wrapper for u32 alias [fixes VM-267]

@linear
Copy link

linear bot commented Mar 21, 2023

VM-267 Replace usize with an explicit type wrapper over u32 alias for TracePos

TracePos is a wrapper type over usize now. It must be replaced with an explicit type + u32 type alias.

@raftedproc raftedproc changed the title chore(trace-handler): TracePos becomes a wrapper for u32 alias [fixes… chore(trace-handler): TracePos becomes a wrapper for u32 alias [fixes VM-267] Mar 21, 2023
@coveralls
Copy link

coveralls commented Mar 21, 2023

Pull Request Test Coverage Report for Build 4573995066

Warning: This coverage report may be inaccurate.

We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

  • 43 of 48 (89.58%) changed or added relevant lines in 12 files are covered.
  • 45 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.08%) to 83.613%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/air-lib/trace-handler/src/errors.rs 0 1 0.0%
crates/air-lib/trace-handler/src/handler.rs 5 6 83.33%
air/src/execution_step/instructions/ap/apply_to_arguments.rs 15 18 83.33%
Files with Coverage Reduction New Missed Lines %
crates/air-lib/trace-handler/src/handler.rs 11 86.44%
air/src/execution_step/instructions/call/prev_result_handler.rs 16 83.93%
air/src/execution_step/instructions/ap/apply_to_arguments.rs 18 82.93%
Totals Coverage Status
Change from base Build 4573883453: -0.08%
Covered Lines: 15930
Relevant Lines: 19052

💛 - Coveralls

@monoid
Copy link
Contributor

monoid commented Mar 22, 2023

I don't think it is chore, I rather think it is feat (chore doesn't increment version).

@raftedproc raftedproc force-pushed the chore/vm-267-trace-pos branch 4 times, most recently from 4debf88 to 9e12960 Compare March 31, 2023 09:27
@raftedproc raftedproc changed the title chore(trace-handler): TracePos becomes a wrapper for u32 alias [fixes VM-267] feat(trace-handler): TracePos becomes a wrapper for u32 alias [fixes VM-267] Mar 31, 2023
@raftedproc raftedproc marked this pull request as ready for review March 31, 2023 09:28
@raftedproc raftedproc requested a review from monoid March 31, 2023 09:28
@raftedproc raftedproc force-pushed the chore/vm-267-trace-pos branch 2 times, most recently from ca95ef5 to afe3091 Compare April 3, 2023 13:20
Copy link
Contributor

@monoid monoid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@raftedproc raftedproc merged commit 658daf1 into master Apr 5, 2023
@raftedproc raftedproc deleted the chore/vm-267-trace-pos branch April 5, 2023 08:50
@fluencebot fluencebot mentioned this pull request Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants